<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h2>这是出版社详情页，有出版社的全部书籍</h2>
<b>{{ pr_str }}</b>
<br><hr>
    <a href="/book_list">显示所有书籍</a>
    <p>出版社名称：{{ publisher.publisher_name }}</p>
    <p>出版社地址：{{ publisher.address }}</p>
    <p>出版社城市：{{ publisher.city }}</p>
    <p>出版社省份：{{ publisher.province }}</p>
    <p>出版社国家：{{ publisher.country }}</p>
    <p>出版社网址：{{ publisher.website }}</p>
    <hr>

    <p>出版社的出版书籍：
        {% for book in publisher.books %}
            <a href="/book_detail/{{ book.id }}">{{ book.title }}</a>
            {% if not loop.last %}|{% endif %}
        {% endfor %}
    </p>
</body>
</html>